function city (state='上海',action){
    switch(action.type){
        case 'SETCITY':
            return state=action.playload;
        default:
            return state
    }
}
export default city